Skip to content

State each pulserver plugin's scan time in MaRGE - #23

Merged
mcencini merged 1 commit into
masterfrom
claude/project-thread-5iuo7g
Oct 13, 2026
Merged

mcencini merged 1 commit into
masterfrom
claude/project-thread-5iuo7g

Conversation

@mcencini

Copy link
Copy Markdown

Requested by Matteo · project thread

Before: editing a value of a pulserver sequence (e.g. epi2d) printed MaRGE's "sequenceTime method is empty" and a scan time of 0 minutes, because the console's plugin sequences never asked pulserver for the time. Selecting one printed "sequenceInfo method is empty".

After: each edit asks pulserver to validate the values and prints the scan time its VALID <seconds> reply states, in minutes (0 where pulserver states none or the values are invalid). Through the browser's asynchronous gateway the request runs in the background and the time is printed once it arrives. The localizer states no scan time, and selecting a sequence prints its name.

How: PluginSequence.sequenceTime sends the same value block a scan sends (factored into _block) as a validate call and reads the status line. Pulserver's zoo evaluate already states a scan time for every shipped sequence (tests/test_zoo_evaluation.py::test_an_evaluation_states_the_values_and_the_scan_time_of_the_design).

Tests: pytest -q tests --ignore=tests/test_browser.py → 88 passed, 1 skipped.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XYJ3anWEs1W1EFN1m1fTmX


Generated by Claude Code

MaRGE asks a sequence for its scan time whenever a value is typed. The
console's plugin sequences now ask pulserver to validate the values and
return the scan time its reply states, in minutes; the localizer states
none. Asynchronous gateways ask in the background and print the time once
it arrives.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XYJ3anWEs1W1EFN1m1fTmX
@mcencini mcencini self-assigned this Oct 13, 2026
@mcencini
mcencini merged commit ea79ddc into master Oct 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants